define(['jquery', 'validate'], function ($) {

	$.validator.addMethod('isphone', function (value, element, param) {

		var reg = /^((13|14|15|17|18)[0-9]{1}\d{8})$/;

		return this.optional(element) || (reg.test(value));

	}, '请输入正确的手机号码');
});